/** @format */

import axios from '@/utils/request';

// 标签更换记录分页
export function pageList(params) {
  return axios.get('/rfid/labelReplace/page', { params: params });
}

// 档案标签更换
export function archiveReplace(data) {
  return axios.post('/rfid/labelReplace/archiveReplace', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}

// 档案标签批量更换
export function archiveBatchReplace(data) {
  return axios.post('/rfid/labelReplace/archiveBatchReplace', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}

// 档案盒标签更换
export function boxReplace(data) {
  return axios.post('/rfid/labelReplace/boxReplace', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}

// 档案盒标签批量更换
export function boxBatchReplace(data) {
  return axios.post('/rfid/labelReplace/boxBatchReplace', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}

// 层架标签批量更换
export function shelfBatchReplace(data) {
  return axios.post('/rfid/labelReplace/shelfBatchReplace', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}

// 档案标签重新注册
export function archiveRegister(data) {
  return axios.post('/rfid/labelReplace/archiveRegister', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}

// 档案标签批量重新注册
export function archiveBatchRegister(data) {
  return axios.post('/rfid/labelReplace/archiveBatchRegister', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}

// 档案盒标签重新注册
export function boxRegister(data) {
  return axios.post('/rfid/labelReplace/boxRegister', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}

// 档案盒标签批量重新注册
export function boxBatchRegister(data) {
  return axios.post('/rfid/labelReplace/boxBatchRegister', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}

// 层架标签批量重新注册
export function shelfBatchRegister(data) {
  return axios.post('/rfid/labelReplace/shelfBatchRegister', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}
